﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._XiangHe
{
   /// <summary>
   /// 产品销售退货单
   /// </summary>
    public class Sasle : Entity<int>
    {
        /// <summary>
        /// 退货单编码
        /// </summary>
        public int? RtCode { get; set; }

        /// <summary>
        /// 退货单名称
        /// </summary>
        public string? RtName { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public string? SoCode { get; set; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public int? ClientId { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string? ClientCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string? ClientName { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int? WarehouseId { get; set; }

        /// <summary>
        /// 仓库编码
        /// </summary>
        public string? WarehouseCode { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }

        /// <summary>
        /// 库位ID
        /// </summary>
        public int? LocationId { get; set; }

        /// <summary>
        /// 库位编码
        /// </summary>
        public string? LocationCode { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        public string? LocationName { get; set; }

        /// <summary>
        /// 区域ID
        /// </summary>
        public int? AreaId { get; set; }

        /// <summary>
        /// 区域编码
        /// </summary>
        public string? AreaCode { get; set; }

        /// <summary>
        /// 区域名称
        /// </summary>
        public string? AreaName { get; set; }

        /// <summary>
        /// 退货日期
        /// </summary>
        public DateTime? RtDate { get; set; }

        /// <summary>
        /// 退货原因
        /// </summary>
        public string? RtReason { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string? Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
